package cn.by.wms.service;

import cn.by.wms.dto.FileInfoDTO;
import cn.hutool.http.HttpUtil;
import cn.smart.core.annotation.NoWapperX;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

@Service
@NoWapperX
public class DownloadService {


    public void downfile(HttpServletResponse response, String fileName) {

          HttpUtil.downloadBytes(fileName);
    }
}
